package com.neu.common.constant;

public enum ResultCodeEnum {
    SUCCESS_CODE(2000,"请求成功"),
    HAVE_NO_RIGHT(4100,"您的帐号无权访问该API，详细请咨询管理员"),
    FAIL_CODE(4000,"未知原因错误");

    private Integer code;
    private String message;

    ResultCodeEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
